﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace ClientWorkflowLibrary
{
    partial class RenderSingleConference
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind9 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind10 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind11 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind12 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind13 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind14 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind15 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind16 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind17 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind18 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference1 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference2 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.ComponentModel.ActivityBind activitybind19 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind20 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind21 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind22 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind23 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind24 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind25 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind26 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind27 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind28 = new System.Workflow.ComponentModel.ActivityBind();
            this.DeleteTempFiles = new DeepTalkWF.DeleteFiles();
            this.SentDZToken = new DeepTalkWF.SetDZToken();
            this.CopyWebsiteFiles = new DeepTalkWF.CopyOverWebSite();
            this.RenderADeepZoomImage = new DeepTalkWF.DeepZoomRender();
            this.BuildVisualTree = new DeepTalkWF.RenderMeetingToVisuals();
            this.RenderMeeting = new DeepTalkWF.RenderAllMeetingSlides();
            this.DownloadConferenceTalks = new DeepTalkWF.DownloadTalks();
            this.SkipRender = new System.Workflow.Activities.IfElseBranchActivity();
            this.RunRender = new System.Workflow.Activities.IfElseBranchActivity();
            this.RunIfRenderNeeded = new System.Workflow.Activities.IfElseActivity();
            this.CheckForPreviousRender = new DeepTalkWF.CheckForDZToken();
            this.UpdateConferenceDB = new ClientWorkflowLibrary.UpdateConferenceData();
            this.DownloadAgenda = new DeepTalkWF.GetAgenda();
            // 
            // DeleteTempFiles
            // 
            activitybind1.Name = "RenderSingleConference";
            activitybind1.Path = "TempDirectory";
            this.DeleteTempFiles.Name = "DeleteTempFiles";
            this.DeleteTempFiles.TimesToRetry = 10;
            this.DeleteTempFiles.SetBinding(DeepTalkWF.DeleteFiles.DirectoryProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // SentDZToken
            // 
            activitybind2.Name = "RenderSingleConference";
            activitybind2.Path = "MeetingOutputDirectory";
            this.SentDZToken.MeetingName = "meeting";
            this.SentDZToken.Name = "SentDZToken";
            this.SentDZToken.SetBinding(DeepTalkWF.SetDZToken.DZDirectoryProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // CopyWebsiteFiles
            // 
            this.CopyWebsiteFiles.Name = "CopyWebsiteFiles";
            this.CopyWebsiteFiles.TimesToRetry = 10;
            this.CopyWebsiteFiles.Title = "meeting";
            activitybind3.Name = "RenderSingleConference";
            activitybind3.Path = "MeetingOutputDirectory.FullName";
            this.CopyWebsiteFiles.SetBinding(DeepTalkWF.CopyOverWebSite.WebSiteBaseDirectoryProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // RenderADeepZoomImage
            // 
            activitybind4.Name = "RenderSingleConference";
            activitybind4.Path = "ImageQuality";
            this.RenderADeepZoomImage.Name = "RenderADeepZoomImage";
            activitybind5.Name = "RenderSingleConference";
            activitybind5.Path = "VisualScene";
            activitybind6.Name = "RenderSingleConference";
            activitybind6.Path = "MeetingOutputDirectory.FullName";
            this.RenderADeepZoomImage.TimesToRetry = 10;
            this.RenderADeepZoomImage.SetBinding(DeepTalkWF.DeepZoomRender.SceneProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            this.RenderADeepZoomImage.SetBinding(DeepTalkWF.DeepZoomRender.TalkOutputDirectoryProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.RenderADeepZoomImage.SetBinding(DeepTalkWF.DeepZoomRender.ImageQualityProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // BuildVisualTree
            // 
            activitybind7.Name = "RenderSingleConference";
            activitybind7.Path = "DPI";
            activitybind8.Name = "RenderSingleConference";
            activitybind8.Path = "DownloadedMeetingData";
            this.BuildVisualTree.Name = "BuildVisualTree";
            activitybind9.Name = "RenderSingleConference";
            activitybind9.Path = "VisualScene";
            activitybind10.Name = "RenderSingleConference";
            activitybind10.Path = "RenderedImagesOfMeetingTalks";
            activitybind11.Name = "RenderSingleConference";
            activitybind11.Path = "TempDirectory.FullName";
            this.BuildVisualTree.TimesToRetry = 10;
            this.BuildVisualTree.SetBinding(DeepTalkWF.RenderMeetingToVisuals.DPIProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            this.BuildVisualTree.SetBinding(DeepTalkWF.RenderMeetingToVisuals.MeetingInfoProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
            this.BuildVisualTree.SetBinding(DeepTalkWF.RenderMeetingToVisuals.SceneProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind9)));
            this.BuildVisualTree.SetBinding(DeepTalkWF.RenderMeetingToVisuals.SlidesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind10)));
            this.BuildVisualTree.SetBinding(DeepTalkWF.RenderMeetingToVisuals.TempImagePathProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind11)));
            // 
            // RenderMeeting
            // 
            activitybind12.Name = "RenderSingleConference";
            activitybind12.Path = "DPI";
            activitybind13.Name = "RenderSingleConference";
            activitybind13.Path = "DownloadedMeetingData";
            this.RenderMeeting.Name = "RenderMeeting";
            activitybind14.Name = "RenderSingleConference";
            activitybind14.Path = "NumberOfTalksRendered";
            activitybind15.Name = "RenderSingleConference";
            activitybind15.Path = "RenderedImagesOfMeetingTalks";
            this.RenderMeeting.TimesToRetry = 10;
            this.RenderMeeting.SetBinding(DeepTalkWF.RenderAllMeetingSlides.MeetingInfoProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind13)));
            this.RenderMeeting.SetBinding(DeepTalkWF.RenderAllMeetingSlides.RenderedTalksProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind15)));
            this.RenderMeeting.SetBinding(DeepTalkWF.RenderAllMeetingSlides.DPIProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind12)));
            this.RenderMeeting.SetBinding(DeepTalkWF.RenderAllMeetingSlides.NumberOfRenderedTalksProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind14)));
            // 
            // DownloadConferenceTalks
            // 
            this.DownloadConferenceTalks.Description = "Downloads all the conference talks";
            activitybind16.Name = "RenderSingleConference";
            activitybind16.Path = "DownloadedMeetingData";
            activitybind17.Name = "RenderSingleConference";
            activitybind17.Path = "NormalizedMeetingData";
            this.DownloadConferenceTalks.Name = "DownloadConferenceTalks";
            activitybind18.Name = "RenderSingleConference";
            activitybind18.Path = "TempDirectory";
            this.DownloadConferenceTalks.TimesToRetry = 10;
            this.DownloadConferenceTalks.SetBinding(DeepTalkWF.DownloadTalks.DownloadedMeetingInfoProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind16)));
            this.DownloadConferenceTalks.SetBinding(DeepTalkWF.DownloadTalks.TempDirectoryProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind18)));
            this.DownloadConferenceTalks.SetBinding(DeepTalkWF.DownloadTalks.MeetingInfoProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind17)));
            // 
            // SkipRender
            // 
            ruleconditionreference1.ConditionName = "RenderAlreadyDone";
            this.SkipRender.Condition = ruleconditionreference1;
            this.SkipRender.Name = "SkipRender";
            // 
            // RunRender
            // 
            this.RunRender.Activities.Add(this.DownloadConferenceTalks);
            this.RunRender.Activities.Add(this.RenderMeeting);
            this.RunRender.Activities.Add(this.BuildVisualTree);
            this.RunRender.Activities.Add(this.RenderADeepZoomImage);
            this.RunRender.Activities.Add(this.CopyWebsiteFiles);
            this.RunRender.Activities.Add(this.SentDZToken);
            this.RunRender.Activities.Add(this.DeleteTempFiles);
            ruleconditionreference2.ConditionName = "RenderNotDone";
            this.RunRender.Condition = ruleconditionreference2;
            this.RunRender.Name = "RunRender";
            // 
            // RunIfRenderNeeded
            // 
            this.RunIfRenderNeeded.Activities.Add(this.RunRender);
            this.RunIfRenderNeeded.Activities.Add(this.SkipRender);
            this.RunIfRenderNeeded.Description = "Checks to see if a render is required, and if so runs it - based on previous outp" +
                "ut!";
            this.RunIfRenderNeeded.Name = "RunIfRenderNeeded";
            // 
            // CheckForPreviousRender
            // 
            activitybind19.Name = "RenderSingleConference";
            activitybind19.Path = "MeetingOutputDirectory";
            activitybind20.Name = "RenderSingleConference";
            activitybind20.Path = "ConferencePreviouslyRendered";
            this.CheckForPreviousRender.MeetingName = "meeting";
            this.CheckForPreviousRender.Name = "CheckForPreviousRender";
            this.CheckForPreviousRender.SetBinding(DeepTalkWF.CheckForDZToken.DZDirectoryProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind19)));
            this.CheckForPreviousRender.SetBinding(DeepTalkWF.CheckForDZToken.DZTokenStatusProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind20)));
            // 
            // UpdateConferenceDB
            // 
            activitybind21.Name = "RenderSingleConference";
            activitybind21.Path = "NormalizedMeetingData.EndDate";
            activitybind22.Name = "RenderSingleConference";
            activitybind22.Path = "NormalizedMeetingData.StartDate";
            activitybind23.Name = "RenderSingleConference";
            activitybind23.Path = "ConferenceTitle";
            this.UpdateConferenceDB.Description = "Updates the conference DB with the data we just downloaded from teh agenda server" +
                "";
            this.UpdateConferenceDB.Name = "UpdateConferenceDB";
            activitybind24.Name = "RenderSingleConference";
            activitybind24.Path = "RenderCallback";
            activitybind25.Name = "RenderSingleConference";
            activitybind25.Path = "TalkID";
            this.UpdateConferenceDB.SetBinding(ClientWorkflowLibrary.UpdateConferenceData.ConferenceStartTimeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind22)));
            this.UpdateConferenceDB.SetBinding(ClientWorkflowLibrary.UpdateConferenceData.TalkIDProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind25)));
            this.UpdateConferenceDB.SetBinding(ClientWorkflowLibrary.UpdateConferenceData.ConferenceTitleProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind23)));
            this.UpdateConferenceDB.SetBinding(ClientWorkflowLibrary.UpdateConferenceData.RenderProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind24)));
            this.UpdateConferenceDB.SetBinding(ClientWorkflowLibrary.UpdateConferenceData.ConferenceEndTimeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind21)));
            // 
            // DownloadAgenda
            // 
            activitybind26.Name = "RenderSingleConference";
            activitybind26.Path = "agendaXML";
            this.DownloadAgenda.Description = "Downloads the agenda as normalized data";
            activitybind27.Name = "RenderSingleConference";
            activitybind27.Path = "NormalizedMeetingData";
            this.DownloadAgenda.Name = "DownloadAgenda";
            this.DownloadAgenda.StartTime = new System.DateTime(2009, 1, 28, 20, 26, 8, 532);
            this.DownloadAgenda.TimesToRetry = 10;
            activitybind28.Name = "RenderSingleConference";
            activitybind28.Path = "ConferenceTitle";
            this.DownloadAgenda.SetBinding(DeepTalkWF.GetAgenda.AgendaXMLProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind26)));
            this.DownloadAgenda.SetBinding(DeepTalkWF.GetAgenda.MeetingInfoProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind27)));
            this.DownloadAgenda.SetBinding(DeepTalkWF.GetAgenda.TitleProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind28)));
            // 
            // RenderSingleConference
            // 
            this.Activities.Add(this.DownloadAgenda);
            this.Activities.Add(this.UpdateConferenceDB);
            this.Activities.Add(this.CheckForPreviousRender);
            this.Activities.Add(this.RunIfRenderNeeded);
            this.Name = "RenderSingleConference";
            this.CanModifyActivities = false;

        }

        #endregion

        private DeepTalkWF.CopyOverWebSite CopyOverWebSite;
        private ReadyForNextTalk ReadyForNextTalk;
        private DeepTalkWF.CopyOverWebSite CopyWebsiteFiles;
        private DeepTalkWF.DeleteFiles DeleteTempFiles;
        private DeepTalkWF.DeepZoomRender RenderADeepZoomImage;
        private DeepTalkWF.SetDZToken SentDZToken;
        private DeepTalkWF.RenderMeetingToVisuals BuildVisualTree;
        private DeepTalkWF.RenderAllMeetingSlides RenderMeeting;
        private DeepTalkWF.DownloadTalks DownloadConferenceTalks;
        private IfElseBranchActivity SkipRender;
        private IfElseBranchActivity RunRender;
        private IfElseActivity RunIfRenderNeeded;
        private DeepTalkWF.CheckForDZToken CheckForPreviousRender;
        private UpdateConferenceData UpdateConferenceDB;
        private DeepTalkWF.GetAgenda DownloadAgenda;

























































    }
}
